package org.jeecg.modules.icms.customs.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.jeecg.modules.icms.customs.entity.IcmsCustomsHeader;
import org.jeecg.modules.icms.customs.mapper.IcmsCustomsHeaderMapper;
import org.jeecg.modules.icms.customs.service.IIcmsCustomsHeaderService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 报关头表
 * @Author: jeecg-boot
 * @Date:   2024-01-19
 * @Version: V1.0
 */
@Service
public class IcmsCustomsHeaderServiceImpl extends ServiceImpl<IcmsCustomsHeaderMapper, IcmsCustomsHeader> implements IIcmsCustomsHeaderService {

    @Override
    public List<IcmsCustomsHeader> queryListWithoutMatch() {
        QueryWrapper<IcmsCustomsHeader> queryWrapper = new QueryWrapper<>();
        queryWrapper.lambda().eq(IcmsCustomsHeader::getMatchFlag, "0");
        return baseMapper.selectList(queryWrapper);
    }
}
